# -*- coding: utf-8 -*-
from django.urls import path, include
from rest_framework import routers

from apps.absent import views

app_name = 'absent'
router = routers.DefaultRouter()
router.register(r'absent', views.AbsentViewSet, basename='absent')
urlpatterns = [
    path('type', views.AbsentTypeView.as_view(), name='absenttype'),
    path('responder', views.ResponderView.as_view(), name='responderview'),
]
urlpatterns += router.urls
